Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect query results for array type column in Bigquery with bigquery.arrow-serialization.enabled enabled #23982

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

mayankvadariya
Copy link
Contributor

@mayankvadariya mayankvadariya commented Oct 30, 2024

Description

[Bigquery] Fix array data type column returning incorrect results when bigquery.arrow-serialization.enabled is enabled.

Diagnosis:

((ListVector) vector).getDataVector(); seem to return data for whole column.

FieldVector innerVector = ((ListVector) vector).getDataVector();

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## BigQuery connector
* Fix array data type column returning incorrect results when `bigquery.arrow-serialization.enabled` is enabled. ({issue}`23982`)

@cla-bot cla-bot bot added the cla-signed label Oct 30, 2024
@github-actions github-actions bot added the bigquery BigQuery connector label Oct 30, 2024
@ebyhr ebyhr requested a review from wendigo October 30, 2024 21:34
@mayankvadariya mayankvadariya force-pushed the mayank/fix-bigquery-array-query branch 2 times, most recently from 59b6959 to 19c9264 Compare October 30, 2024 22:08
@anusudarsan
Copy link
Member

anusudarsan commented Oct 30, 2024

also add a release note

@ebyhr
Copy link
Member

ebyhr commented Oct 30, 2024

/test-with-secrets sha=19c92646c866365a749b7e4e72c8fc669ca69dda

Copy link

github-actions bot commented Oct 30, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/11602476723

@mayankvadariya mayankvadariya force-pushed the mayank/fix-bigquery-array-query branch from 19c9264 to 4cfb82d Compare October 30, 2024 22:26
@ebyhr ebyhr merged commit aa8a470 into trinodb:master Oct 30, 2024
16 of 17 checks passed
@github-actions github-actions bot added this to the 464 milestone Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants